Color Structure
The color property of an ink object is specified with a color structure (typegxColor
):
struct gxColor{ gxColorSpace space; gxColorProfile profile; union { struct gxCMYKColor cmyk; struct gxRGBColor rgb; struct gxRGBAColor rgba; struct gxHSVColor hsv; struct gxHLSColor hls; struct gxCIEColor cie; struct gxYIQColor yiq; gxColorValue gray; struct gxGrayaColor graya; unsigned short pixel16; unsigned long pixel32; struct gxIndexedColor indexed; gxColorValue component[4]; } element; };The fields of the color structure are described briefly in the section "Color" beginning on page 5-7 of this chapter, and defined in more detail in the chapter "Colors and Color-Related Objects" in this book.